<template>
  <a-card class="task-card" :bordered="false" :bodyStyle="{padding:'0px 10px 10px 10px'}">
    <TaskTable
      :modelId="modelId"
    />
  </a-card>
</template>
<script>
import TaskTable from './modules/TaskTable'

export default {
  name: 'TaskList',
  components: {
    TaskTable
  },
  data() {
    return {
      modelId: '',
      rootUrLReplace: '/TaskList/' // 根据这个截取url参数
    }
  },
  created() {
    this.modelId = this.$route.path.replace(this.rootUrLReplace, '')
  },
  methods: {

  }
}
</script>
<style>
  .task-card{
    padding-top:10px;
  }
</style>
<style lang="less" scoped>

</style>
